<div id="page-wrapper">
          
            <div class="row">
                <div class="col-lg-6">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            自定义菜单新建
                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-lg-6">
                                    <form role="form" method="post">
                                  
                                        <div class="form-group">
                                            <label>菜单名称</label>
                                            <input class="form-control" name="title" value="" placeholder="请输入菜单名称">
                                        </div>

                                         <div class="form-group">
                                            <label>菜单级别</label>
                                           <select class="form-control" name="pid" >
                                               <option value="0" <if condition="$data['pid'] eq 0">selected="selected" </if> >一级菜单</option>
                                               
                                               <volist name="node" id="item">
                                                   <option value="{$item.id}" <eq name="data.pid" value="$item.id"> selected="selected"</eq> > {$item.title}</option>
                                               </volist>

                                            </select>
                                           
                                        </div>
                                        
                                        <div class="form-group">
                                            <label>菜单类型</label>
                                            <select class="form-control" name="type" >
                                                <option value="view" >链接</option>
                                                <option value="click" >关键字</option>
                                           
                                            </select>
                                           
                                        </div>
                                        <div class="form-group">
                                            <label>关键字</label>
                                            <input class="form-control" name="keyword" value="" placeholder="请输入关键字">
                                        </div>
                                        <div class="form-group">
                                            <label>URL</label>
                                            <input class="form-control" name="url" value="" placeholder="请输入url地址">
                                        </div>
                                        <div class="form-group">
                                            <label>排序</label>
                                            <input class="form-control" name="sort" value="" placeholder="请输入排序编号">
                                        </div>
               
                                        <button type="submit" class="btn btn-default">提交</button>
                                    </form>

                                </div>
                                <!-- /.col-lg-6 (nested) -->
                               
                            </div>
                            <!-- /.row (nested) -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
        </div>
        <!-- /#page-wrapper -->
